package com.qys.livesMall.app.user.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 店铺和会员通用统计表
 * </p>
 *
 * @author
 * @since 2023-08-01
 */
@Getter
@Setter
@TableName("h2_app_user_shop_statistics")
@Schema(name = "UserShopStatistics", description = "店铺和会员通用统计表")
public class UserShopStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    @Schema(description = "上级账号")
    private String superior;

    @Schema(description = "代理账号")
    private String agentAccount;

    @Schema(description = "团队ID")
    private Long teamId;

    @Schema(description = "同注册IP数")
    private Integer ipRegisterNumber;

    @Schema(description = "同注册活跃IP数")
    private Integer ipActiveNumber;


    @Schema(description = "注册时间")
    private LocalDateTime registerTime;

    @Schema(description = "注册ip")
    private String registerIp;

    @Schema(description = "最后操作IP")
    private String finalOperateIp;

    @Schema(description = "最后操作时间")
    private LocalDateTime finalOperateTime;

    @Schema(description = "最后操作语言类型")
    private String finalLanguage;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "层级")
    private Integer storey;

    @Schema(description ="国家")
    private String country;

    @TableField(exist = false)
    private Long zUserId;
}
